StoreKeeper\WooCommerce\B2C\Models\TaskModel S

Total Complexity 29
Dependencies 2
Dependents 20
Total lines 295
Lines of code 199
Logical lines of code 84
Comment lines 2
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
alterTable()
S
59 3 13
createTable()
S
58 1 24
getFieldsWithRequired()
S
57 1 18
getLastThousandSuccessfulTaskIds()
S
58 1 17
newTask()
S
58 1 16
countTasksByCreatedDateTimeRange()
S
65 2 8
getName()
S
69 2 7
read()
S
67 2 8
getMetaDataKey()
S
66 2 8
purge()
S
66 2 9
countTasksByProcessedDateTimeRange()
S
65 2 8
purgeAllKeepLast1000()
S
61 1 12
purgeOrderThanXDays()
S
61 1 12
prepareProcessedDateTimeRangeSelect()
S
69 1 7
prepareCreatedDateTimeRangeSelect()
S
69 1 7
getExecutionDurationSumByProcessedDateTimeRange()
S
67 1 7
countSuccessfulTasks()
S
78 1 3
countFailedTasks()
S
78 1 3
update()
S
71 1 5
create()
S
74 1 4
countTasks()
S
78 1 3